package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.BoxTakePoolConvertScenarioEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("盲盒抽奖池列表")
public class BoxPoolVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("盲盒商品Id")
    private Long productBoxId;

    @ApiModelProperty("虚拟道具ID")
    private Long propsId;

    @ApiModelProperty("一级标题")
    private String firstTitle;

    @ApiModelProperty("总数量")
    private Integer boxCount;

    @ApiModelProperty("状态")
    private Boolean status;

    @ApiModelProperty("道具名称")
    private String propsName;

    @ApiModelProperty("缩略图")
    private String creationContent;

    @ApiModelProperty("消耗数量")
    private Integer costQuantity;

    @ApiModelProperty("剩余数量")
    private Integer surplusQuantity;

    @ApiModelProperty("发行方名字")
    private String daoName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "盲盒兑换条件组合后的名字")
    private String conditionName;

    @ApiModelProperty(value = "藏品组合后的名字")
    private String collectionName;

    @ApiModelProperty(value = "排序")
    private Integer ranking;

    @ApiModelProperty(value = "nft专享")
    private String nftExclusive;

    @ApiModelProperty(value = "兑换上限")
    private Integer upperLimit;

    /**
     * 抢购时间
     */
    private Date beginTime;
    /**
     * 结束时间
     */
    private Date endTime;

    @ApiModelProperty("兑换场景")
    private BoxTakePoolConvertScenarioEnum convertScenario;

    @ApiModelProperty("品牌id")
    private Long daoId;

}
